package models

import (
	"time"

	"gorm.io/gorm"
)

var DB *gorm.DB
var DBErr error

type DeployHistory struct {
	ID               uint           `gorm:"primaryKey" json:"id"`
	Type             string         `json:"type"`
	Status           string         `json:"status"`
	Info             string         `json:"info"`
	ProcessID        string         `json:"process_id"`
	Value            string         `json:"value"`
	ReleaseName      string         `json:"release_name"`
	ReleaseNamespace string         `json:"release_namespace"`
	CreateAt         time.Time      `json:"create_at"`
	DeleteAt         gorm.DeletedAt `json:"delete_at"`
}
